﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Xml;
using RAP.Framework.Libary.Utils;

namespace RAP.Framework.Libary.Payment.WxPay
{
  /// <summary>
  /// 订单下单返回结果实体
  /// </summary>
  public class PayOrderResultData : PayDataBase
  {
    /// <summary>
    /// 返回状态码
    /// </summary>
    public virtual string ReturnCode { get => this.ToString("return_code"); set => this["return_code"] = value; }

    /// <summary>
    /// 返回信息
    /// </summary>
    public virtual string ReturnMsg { get => this.ToString("return_msg"); set => this["return_msg"] = value; }

    /// <summary>
    /// 错误代码
    /// </summary>
    public virtual string ErrCode { get => this.ToString("err_code"); set => this["err_code"] = value; }

    /// <summary>
    /// 错误代码描述
    /// </summary>
    public virtual string ErrMsg { get => this.ToString("err_code_des"); set => this["err_code_des"] = value; }

    /// <summary>
    /// 预支付交易会话标识
    /// </summary>
    public virtual string PrePayId { get => this.ToString("prepay_id"); set => this["prepay_id"] = value; }

    public PayOrderResultData()
    {
    }
  }
}
